@import url("css2-1.css");

* {
    font-family: 'Poppins', sans-serif;
}
#header {
    padding-top: 1rem;
    padding-bottom: 1rem;
    -webkit-box-shadow: 0 10px 5px #141b29;
    -moz-box-shadow: 0 10px 5px #141b29;
    box-shadow: 0 -15px 25px #141b29;
}
.header-text {
    /* display: flex; */
    /* justify-content: space-between; */
    color: #0c0e29;
    font-weight: 900 !important;
    text-align: center;
}
.header-img {
    width: 2.5rem;
    height: 2.5rem;
}
.header-text h4 {
    font-weight: 500;
    font-size: 1rem;
    margin-top: 8px;
    font-weight: 700;
}
.coin-section-header {
    color: #0c0e29;
}
.coin-section-header h1 {
    font-weight: 600;
    margin-top: 2rem !important;
}
.coin-section-header h6 {
    font-size: 15px;
    font-weight: 400;
    margin-top: 1rem;
}
.coin-section-footer {
    color: #0c0e29;
    margin-top: 1.5rem;
}
.coin-section-footer h6 {
    font-size: 12px;
    font-weight: 400;
}
.coin-section-icons i {
    font-size: 12.5px;
}
.coin {
    background-color: #fff;
    border: none;
}
.coin-img {
    width: 5rem;
    height: 5rem;
    -webkit-transition: 500ms linear;
    transition: 500ms linear;
}
.coin-img:hover {
    transform: scale(1.1);
}
.coin-registry {
    margin-top: 2.5rem;
  display: grid; 
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; 
  grid-column-gap: 5rem !important;
  grid-row-gap: 1rem !important;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr; 
  gap: 0px 0px; 
  grid-template-areas: 
    ". . . . . ."
    ". . . . . ."
    ". . . . . ."
    ". . . . . ."
    ". . . . . ."
    ". . . . . ."
    ". . . . . ."
    ". . . . . ."
    ". . . . . ."
    ". . . . . ."
    ". . . . . ."
    ". . . . . ."; 
}
.coin h4 {
    font-weight: 600;
    color: #0c0e29;
    font-size: 11px !important;
    margin-top: 13px;
}
.wallet-address {
    background-color: #fff;
    color: #0c0e29;
    border: none !important;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
    height: 3rem;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.modal-content {
    background-color: #0c0e29;
}
.modal-header {
    border-bottom: none;
}
.modal-footer {
    border-top: none;
}
.modal_title {
    color: #fff; 
    font-weight: 600; 
    font-size: 13px;
    word-spacing: 1px;
}
.btn_close {
    border: 1px solid #fff;
    font-weight: 500;
    font-size: 13px;
    color: #fff !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
.btn_proceed {
    background-color: #fff; 
    color: #0c0e29; 
    font-weight: 500; 
    font-size: 13px;
}
.btn-primary {
    border: none !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
/*    background-color: #fff !important;*/
    color: #0c0e29;
    border: none;
}
small {
    color: grey;
    font-size: 10px;
    position: absolute;
    left: 15px;
}
.modal-body input {
    border: 2px solid #0150b8 !important;
}
.modal-body input:active,
.modal-body input:focus {
    border: none;
}

@media screen and (max-width: 768px) {
    .coin-registry {
        margin-top: 2rem;
        display: grid !important; 
        grid-template-columns: 1fr 1fr 1fr !important;
        grid-template-rows: 1fr 1fr 1fr;
        grid-column-gap: 1rem !important;
        grid-template-areas:
        ". . ."
        ". . ."
    }
    .coin-img {
        width: 2.5rem;
        height: 2.5rem;
    }
    .coin h4 {
        font-size: 12px;
    }
    #header {
        padding-top: 10px;
    }
    .header-img {
        width: 2.3rem;
        height: 2.3rem;
    }
    .header-text h4 {
        margin-top: 10px;
        font-weight: 700;
    }
    .wallet-address {
        width: 100%;
    }
}

.dialog-overlay-loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999;
}

.loading-dialog {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 32px 40px;
    border-radius: 12px;
    text-align: center;
}

.loader {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text, .error-text {
    margin: 15px 0;
    font-size: 16px;
}

.error-text {
    display: none;
    color: #e74c3c;
}

.manual-connect {
    display: none;
    margin: 15px auto;
    padding: 10px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
